const express = require("express");
const router = express.Router();

router.get("/list", (req, res) => {
  res.send({
    status: 2000,
    result: [
      {
        name: "hhh",
        age: 11
      },
      {
        name: "dkfjdk",
        age: 11
      },
    ]
  })
})

router.post("/login", (req, res) => {
  res.send({
    returnCode: 2000,
    data: "登录成功"
  })
})

module.exports = router